diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-03 18:39:08 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-03 18:39:08 +0900 |
| commit | bf3a801245a0be1d9001ee106e48cbf8b4bc73df (patch) | |
| tree | 2608770bedc66c8cc5baed98306486d7dac6a6d4 /app/[lng]/evcp/(evcp)/(system)/notice/page.tsx | |
| parent | 2f02e9ea125c3ec42afac84ec903767930335dd3 (diff) | |
(임수민) 페이지 타이틀과 메뉴명 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(system)/notice/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(system)/notice/page.tsx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app/[lng]/evcp/(evcp)/(system)/notice/page.tsx b/app/[lng]/evcp/(evcp)/(system)/notice/page.tsx index a4157d1b..ab01edfa 100644 --- a/app/[lng]/evcp/(evcp)/(system)/notice/page.tsx +++ b/app/[lng]/evcp/(evcp)/(system)/notice/page.tsx @@ -7,13 +7,21 @@ import { NoticeClient } from "@/components/notice/notice-client" import { InformationButton } from "@/components/information/information-button"
import { getNoticeLists } from "@/lib/notice/service"
import { authOptions } from "@/app/api/auth/[...nextauth]/route"
+import { useTranslation } from "@/i18n"
export const metadata: Metadata = {
title: "공지사항 관리",
description: "페이지별 공지사항을 관리합니다.",
}
-export default async function NoticePage() {
+interface noticePageProps {
+ params: Promise<{ lng: string }>
+}
+
+export default async function NoticePage({ params }: noticePageProps) {
+ const { lng } = await params
+ const { t } = await useTranslation(lng, 'menu')
+
noStore()
// 세션에서 사용자 ID 가져오기
@@ -47,7 +55,7 @@ export default async function NoticePage() { <div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 공지사항 관리
+ {t('menu.information_system.notice')}
</h2>
<InformationButton pagePath="evcp/notice" />
</div>
@@ -57,4 +65,4 @@ export default async function NoticePage() { <NoticeClient initialData={initialData?.data || []} currentUserId={currentUserId} />
</Shell>
)
-}
\ No newline at end of file +}
|
